Skip to content

fix: use mount_point_hash instead of mount_point in removeMount#59160

Draft
salmart-dev wants to merge 1 commit intomasterfrom
fix/removeMountByHash
Draft

fix: use mount_point_hash instead of mount_point in removeMount#59160
salmart-dev wants to merge 1 commit intomasterfrom
fix/removeMountByHash

Conversation

@salmart-dev
Copy link
Contributor

@salmart-dev salmart-dev commented Mar 23, 2026

Summary

There is no index on mount_point any longer, so this delete blocks the whole table.

TODO

  • Add migration to add index on mount_point_hash
  • On 24.03.2026 the index was enabled on our instance and may have degraded performance. Needs to be double-checked.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@salmart-dev salmart-dev self-assigned this Mar 23, 2026
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant